<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>订单支付-</title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <link rel="stylesheet" href="__CSS__/pay.min.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/style.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/base.css"/>
    <link href="__CSS__/common.min.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="__CSS__/jh.css">
    <script src="__JS__/jquery-1.10.2.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__JS__/global.js"></script>
    <script src="__JS__/pc_common.js"></script>

</head>
<body>
<div class="site-topbar">
    <div class="layout">
        <div class="t1-l">
            <ul class="t1-l-ul">
                <li class="t1font"><a href="{:url('index/index/index')}">Sugoushop</a></li>
                <li class="t1img">&nbsp;</li>
            </ul>
        </div>
        <div class="t1-r">
            {if condition="session('islogin')"}
            <ul class="t1-r-ul">
                <li class="t1font"> <a href="#" class="logon userinfo">{$Think.session.username}</a></li>
                <li class="t1img"><a href="#">安全退出</a></li>
                <li class="t1img">&nbsp;</li>
                <li class="t1img">&nbsp;</li>
                <li class="t1font"><a href="#">我的订单</a></li>
            </ul>
            {else /}
            <ul class="t1-r-ul">
                <li class="t1font"><a href="{:url('index/user/login')}">登录</a></li>
                <li class="t1img">&nbsp;</li>
            </ul>
            {/if}

        </div>
    </div>
</div>
<div class="fn-cart-pay">
    <!-- cart-title -->
    <div class="wrapper1190">
        <div class="order-header">
            <div class="layout after">
                <div class="fl">
                    <div class="logo wi345">
                        <a href="{:url('index/index/index')}"><img alt="" src="__ROOT__/img/logofinal3.png"></a>
                    </div>
                </div>
                <div class="fr">
                    <div class="pa-to-36 progress-area">
                        <div class="progress-area-wd" style="display:none">我的购物车</div>
                        <div class="progress-area-tx" style="display:none">填写核对订单信息</div>
                        <div class="progress-area-cg">成功提交订单</div>
                    </div>
                </div>
            </div>
        </div>
        <!-- end cart-title -->

        <div class="layout after-ta order-ha">
            <div class="erhuh">
                <i class="icon-succ"></i>

                <h3>订单提交成功，请您尽快付款！</h3>

                <p class="succ-p">
                    {if condition="$order.order_sn neq ''"}
                        订单号：&nbsp;&nbsp;{$order.order_sn}&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
                        付款金额（元）：&nbsp;&nbsp;<b>{$order.goods_price}</b>&nbsp;<b>元</b>
                        {else/}
                        订单号：&nbsp;&nbsp;{$order.order_sn}&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
                        付款金额（元）：&nbsp;&nbsp;<b>{$order.goods_price}</b>&nbsp;<b>元</b>
                    {/if}
                </p>
                <div class="succ-tip">
                    请您在&nbsp;&nbsp;<b>{$paybeforetime}</b>&nbsp;完成支付，否则订单将自动取消
                </div>
            </div>
            <div class="ddxq-xiaq">
                {if condition="$order.order_sn neq ''"}
                    <a href="#">订单详情<i></i></a>
                    {else/}
                    <a href="#">订单详情<i></i></a>
                {/if}
            </div>
            <form action="../../extend/alipay/pagepay/pagepay.php" method="post" name="cart4_form" id="cart4_form">
                <div class="orde-sjyy">
                    <h3 class="titls">选择支付方式</h3>

                    <div class="bsjy-g">
                        <dl>
                            <dd>
                                <div class="order-payment-area">
                                    <div class="dsfzfpte">
                                        <b>选择支付方式</b>
                                    </div>
                                    <div class="po-re dsfzf-ee">
                                        <ul>
                                            <li>
                                                <div class="payment-area">
                                                    <input type="radio" id="input-ALIPAY-1" value="pay_code=alipay" class="radio vam" name="pay_radio" checked="checked">
                                                    <label for="">
                                                        <img src="__ROOT__/img/zhifubao.jpg" width="120" height="40" >
                                                    </label>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                </div>

                            </dd>
                        </dl>
                        <div class="order-payment-action-area">
                            <button class="button-style-5 button-confirm-payment"  type="submit">确认支付方式</button>
                        </div>
                    </div>
                </div>
                <input type="hidden" name="WIDout_trade_no" value="{$order.order_sn}"/>
                <input type="hidden" name="WIDsubject" value="{$order.goods_name}"/>
                <input type="hidden" name="WIDtotal_amount" value="{$order.goods_price}">
            </form>
        </div>
    </div>
</div>



<!--footer-s-->
{include file='/footer'}
<!--footer-e-->
<!--<script>-->
    <!--$(document).ready(function () {-->
        <!--$("input[name='pay_radio']").first().trigger('click');-->
    <!--});-->
    <!--// 切换支付方式-->
    <!--function change_pay(obj) {-->
        <!--$(obj).parent().siblings('input[name="pay_radio"]').trigger('click');-->
    <!--}-->
<!--</script>-->
</body>
</html>
